from django.shortcuts import render
from django.http import HttpResponse
def myid(request):
    id = request.GET.get('id')
    return HttpResponse('%s' %id)
# Create your views here.
def params_post(request):
    if request.method=='GET':
        return render(request,'post.html') 
    else:
        username=request.POST.get('username','') 
        password=request.POST.get('password','')
        return HttpResponse('username='+username+"&password="+password)